From 1cd400c1cdaff3fec10bcbfb9debb6a8047d5e37 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 24 Jun 2014 06:54:37 -0700 Subject: [PATCH] Use correct path separator on windows --- src/cargo/util/process_builder.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cargo/util/process_builder.rs b/src/cargo/util/process_builder.rs index 1dc3ca4e6..e5fec4f1a 100644 --- a/src/cargo/util/process_builder.rs +++ b/src/cargo/util/process_builder.rs @@ -28,7 +28,10 @@ impl Show for ProcessBuilder { } // TODO: Upstream a Windows/Posix branch to Rust proper +#[cfg(unix)] static PATH_SEP : &'static str = ":"; +#[cfg(windows)] +static PATH_SEP : &'static str = ";"; impl ProcessBuilder { pub fn arg(mut self, arg: T) -> ProcessBuilder { -- 2.30.2